import java.util.ArrayList;

import javax.swing.*;
import com.db4o.*;

public class GUIFrame1 extends JFrame {
	private static final long serialVersionUID = 1L;
	private GUIPanel1 currentPanel;
	ObjectContainer db1;

	public GUIFrame1(ArrayList<Integer> stations) {
		currentPanel = new GUIPanel1(stations);
		currentPanel.setGuiPanel(currentPanel);
		createFrame();
	}

	private void createFrame() {
		setContentPane(currentPanel);
		setSize(650, 750);
		setVisible(true);
		//setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	}

	
}
